<?php

/**
 * KmTest
 *
 * @author vbolshov
 */

require_once dirname(__FILE__) . '/../lib/Km.php';

Km::catchExceptions();
		
Km::setExceptionHandlers(array('Exception' => function($e) {
	echo "Test Ok. Successfully handled exception wiht message " . $e->getMessage() . "\n";
}));

throw new LogicException('test exception');